package com.lx.patterns.prototype.demo1;

/**
 * @ClassName Realizetype
 * @Description: //todo
 * @Author: 落雪
 * @CreateDate: 2025/1/15 07:24
 * @UpdateUser: 落雪
 * @UpdateDate: 2025/1/15 07:24
 * @UpdateRemark:
 * @Version: 1.0
 */
public class Realizetype implements Cloneable{

    public Realizetype() {

        System.out.println("对象被创建");
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        System.out.println("对象开始克隆");
        return super.clone();
    }
}
